www.gusucode.com > VC++ 动画系统托盘图标的显示源码程序 > VC++ 动画系统托盘图标的显示源码程序/code/Taskdemo/AboutDlg.cpp

    //Download by http://www.NewXing.com
// AboutDlg.cpp : implementation file
//

#include "stdafx.h"
#include "ADGate.h"
#include "AboutDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog


CAboutDlg::CAboutDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CAboutDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CAboutDlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAboutDlg)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
	//{{AFX_MSG_MAP(CAboutDlg)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAboutDlg message handlers

//DEL void CAboutDlg::OnEasygpsAbout() 
//DEL {
//DEL 	// TODO: Add your command handler code here
//DEL 	
//DEL }

//DEL void CAboutDlg::OnIconHide() 
//DEL {
//DEL 	// TODO: Add your command handler code here
//DEL 	
//DEL }

//DEL void CAboutDlg::OnIconShow() 
//DEL {
//DEL 	// TODO: Add your command handler code here
//DEL 	
//DEL }

//DEL void CAboutDlg::OnSystemsetup() 
//DEL {
//DEL 	// TODO: Add your command handler code here
//DEL 	
//DEL }

BOOL CAboutDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
#ifdef CURRENCYVER
	//标题
	SetWindowText(_L("关于 \"神州通\"E@syGPS车辆监控调度管理系统 V2.0"));
	//系统名称
	::SetWindowText(GetDlgItem(IDC_STATICTITLE)->m_hWnd,_L("\"神州通\"E@syGPS车辆监控调度管理系统 V2.0"));
#else
	//标题
	SetWindowText(_L("关于 \"神州通\"现场查勘管理系统"));
	//系统名称
	::SetWindowText(GetDlgItem(IDC_STATICTITLE)->m_hWnd,_L("\"神州通\"现场查勘管理系统 V2.0"));
#endif
	// TODO: Add extra initialization here
	CComQIPtr<ISkin> pSkin = GetDlgItem(IDC_SKIN1)->GetControlUnknown();
	pSkin->ApplySkin((long)m_hWnd);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}